# python推导式
l = [ i * 2 for i in range(10) if i % 2 == 0]

print(l)